package FactoryPattern;

import Model.Book;
import Model.ScienceBook;

import java.util.Date;

public class ScienceBookFactory implements BookFactory {
    @Override
    public Book createBook(String title, String author, String isbn, String genre, int pageCount, double price, Date publicationDate,double baseFine) {
        return new ScienceBook(title, author, isbn, genre, pageCount, price, publicationDate,baseFine);
    }
}
